/**
 * 
 */
package org.lanqiao.netctoss.service.impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.lanqiao.netctoss.dao.CheckBillDao;
import org.lanqiao.netctoss.dao.BussDao;
import org.lanqiao.netctoss.entity.CheckBill;
import org.lanqiao.netctoss.service.BillService;
import org.lanqiao.netctoss.util.GetSession;

/**
 * @author pengyang
 *
 */
public class BillServiceImpl implements BillService {

	/* (non-Javadoc)
	 * @see org.lanqiao.netctoss.service.BillService#selectBill(org.lanqiao.netctoss.entity.CheckBill)
	 */
	@Override
	public List<CheckBill> selectCheckBill() {
		// TODO Auto-generated method stub
		SqlSession session = GetSession.getSession();
		List<CheckBill> lc =  session.getMapper(CheckBillDao.class).selectCheckBill();
		session.close();
		return lc;
	}

}
